<!DOCTYPE html>
<!--
Author: zouy
Unit: D9lab
Date: 2017-12-06 11:12 
-->
<html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="renderer" content="webkit">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>title</title>
    <link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://cdn.bootcss.com/font-awesome/3.2.1/css/font-awesome.min.css" rel="stylesheet">
    <script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
    <script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
    <script src="https://cdn.bootcss.com/angular.js/1.4.6/angular.min.js"></script>
</head>
<body>
<script>
    localStorage.setItem("changEActivity", '{"id":1,"name":"zouy","IP":"192.168.0.1"}');
    localStorage.removeItem("coffeeType");
    var i = localStorage.getItem("changEActivity");
    console.log(JSON.parse(i));
    console.log(localStorage.getItem("coffeeType"));
</script>
</body>
</html>